#ifndef FLASH_H
#define FLASH_H

#include "em_msc.h"

void efm32_flash_write(uint32_t write_addr, uint32_t *p_buffer, uint16_t num_to_write);		
void efm32_flash_read(uint32_t read_addr, uint32_t *p_buffer, uint16_t num_to_read);   	

void efm32_ud_read(uint32_t read_addr, uint32_t *p_buffer, uint16_t num_to_read);
void efm32_ud_write(uint32_t write_addr, uint32_t *p_buffer, uint16_t num_to_write);

#endif
